package selef.xiafan.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import selef.xiafan.entity.user.SysUserRole;

import java.util.List;

public interface SysUserRoleDao extends JpaRepository<SysUserRole,Integer> {
    List<SysUserRole> findAllByUid(Integer uid);

    void deleteAllByUid(Integer id);
}
